package com.flame.system.tools.mapper;

import com.flame.system.tools.controller.vo.DbDatasourceVo;
import com.flame.system.tools.entity.DbDatasource;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DbDataSourceMapper {
    boolean insert(DbDatasource dbDatasource);

    boolean updateById(DbDatasource dbDatasource);

    boolean deleteById(DbDatasource dbDatasource);

    List<DbDatasource> page(DbDatasourceVo dbDatasourceVo);

    DbDatasource selectById(String datasourceName);
}
